//
//  WLCloudDetailCell.m
//  WanLian
//
//  Created by muzhuang on 2018/11/4.
//  Copyright © 2018年 wanlian. All rights reserved.
//

#import "WLCloudDetailCell.h"

@implementation WLCloudDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _labTitle = [[UILabel alloc] initWithFrame:CGRectMake(WLScaleX(16), WLScaleX(14), WLScaleX(110), WLScaleX(30))];
        _labTitle.font = [WLCommonTool fontTypePingFangSCRegular:17];
        _labTitle.textColor = wlBlackColor;
        [self.contentView addSubview:_labTitle];
        
        _labDetail = [[UILabel alloc] initWithFrame:CGRectMake(WLScaleX(16+110), 0, WIDTH_SCREEN_WL-WLScaleX(32+110), WLScaleX(58))];
        _labDetail.textColor = wlLightTextColor;
        _labDetail.font = [WLCommonTool fontTypePingFangSCRegular:14];
//        _labDetail.textAlignment = NSTextAlignmentRight;
        _labDetail.numberOfLines = 0;
        _labDetail.adjustsFontSizeToFitWidth = YES;
        [self.contentView addSubview:_labDetail];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
